package com.ruoyi.prize.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 兑换商品管理对象 t_prize
 * 
 * @author 秦永昆
 * @date 2023-02-12
 */
public class Prize extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 兑换商品id */
    private Long prizeId;

    /** 商品名 */
    @Excel(name = "商品名")
    private String prizeName;

    /** 商品介绍 */
    @Excel(name = "商品介绍")
    private String prizeIntroduce;

    /** 商品logo */
    //@Excel(name = "商品logo")
    private String prizeLogo;

    /** 商品积分 */
    @Excel(name = "商品积分")
    private Integer prizeIntegral;

    /** 商品数量 */
    @Excel(name = "商品数量")
    private Integer prizeQuantity;

    /** 商品已兑换数量 */
    @Excel(name = "商品已兑换数量")
    private Integer prizeOutQuantity;

    public void setPrizeId(Long prizeId) 
    {
        this.prizeId = prizeId;
    }

    public Long getPrizeId() 
    {
        return prizeId;
    }
    public void setPrizeName(String prizeName) 
    {
        this.prizeName = prizeName;
    }

    public String getPrizeName() 
    {
        return prizeName;
    }
    public void setPrizeIntroduce(String prizeIntroduce) 
    {
        this.prizeIntroduce = prizeIntroduce;
    }

    public String getPrizeIntroduce() 
    {
        return prizeIntroduce;
    }
    public void setPrizeLogo(String prizeLogo) 
    {
        this.prizeLogo = prizeLogo;
    }

    public String getPrizeLogo() 
    {
        return prizeLogo;
    }
    public void setPrizeIntegral(Integer prizeIntegral) 
    {
        this.prizeIntegral = prizeIntegral;
    }

    public Integer getPrizeIntegral() 
    {
        return prizeIntegral;
    }
    public void setPrizeQuantity(Integer prizeQuantity) 
    {
        this.prizeQuantity = prizeQuantity;
    }

    public Integer getPrizeQuantity() 
    {
        return prizeQuantity;
    }
    public void setPrizeOutQuantity(Integer prizeOutQuantity) 
    {
        this.prizeOutQuantity = prizeOutQuantity;
    }

    public Integer getPrizeOutQuantity() 
    {
        return prizeOutQuantity;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("prizeId", getPrizeId())
            .append("prizeName", getPrizeName())
            .append("prizeIntroduce", getPrizeIntroduce())
            .append("prizeLogo", getPrizeLogo())
            .append("prizeIntegral", getPrizeIntegral())
            .append("prizeQuantity", getPrizeQuantity())
            .append("prizeOutQuantity", getPrizeOutQuantity())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
